from fastapi import APIRouter
from .auth import router as auth_router
from .users import router as users_router
from .departments import router as departments_router
from .files import router as files_router
from .permissions import router as permissions_router
from .versions import router as versions_router

api_router = APIRouter()

api_router.include_router(auth_router, prefix="/auth", tags=["认证"])
api_router.include_router(users_router, prefix="/users", tags=["用户管理"])
api_router.include_router(departments_router, prefix="/departments", tags=["部门管理"])
api_router.include_router(files_router, prefix="/files", tags=["文件管理"])
api_router.include_router(permissions_router, prefix="/permissions", tags=["权限管理"])
api_router.include_router(versions_router, tags=["版本管理"])